package com.ikas.ai.enums;

/**
 * 菜单按钮枚举类
 * 目录属于一级，菜单属于二级，按钮属于三级
 */
public enum MenuTypeEnum {

    DIR(0,"目录"),MENU(1,"菜单"),BUTTON(2,"按钮");

    private int code;
    private String name;

    /**
     * 构造方法
     */
    private MenuTypeEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
